package com.he.ymw.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 订单实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private Integer id;
    private Integer userId; // 用户id
    private String userAddress;// 用户地址
    private String createTime; // 创建时间
    private Integer cost; // 总消费
    private String serialNumber; // 订单号
    private Integer orderType; // 1待付款 2已付款 3已退货
}
